<template>
  <div id="header">
    <div class="container nav clearfix">
      <ul class="logo">
        <li class="domain">四虎 <a href="/public">chn567.com</a></li>
      </ul>
      <ul class="btn-icon">
        <li><a href="/top.html">
          <span class="title">排行榜</span>
          <div class="pc"><span class="subtitle">影片排行榜</span></div>
        </a></li>
        <li><a href="/help/" target="_blank">
          <span class="title">帮助中心</span>
          <div class="pc"><span class="subtitle">解决无法访问和观看</span></div>
        </a></li>
        <li><a href="javascript:void(0)">
          <span class="title">加入收藏夹</span>
          <div class="pc"><span class="subtitle">将本站加入到收藏夹</span>
          </div>
          <div class="tips"><p>Ctrl + D</p>将本站加入收藏夹，随时开撸！</div>
        </a></li>
        <li><a href="#" target="_blank">
          <span class="title">永久网址</span>
          <div class="pc"><span class="subtitle">收藏发布页，获取新网址</span></div>
        </a></li>
        <li><a href="javascript:void(0)">
          <span class="title">邮箱获取网址</span>
          <div class="pc"><span class="subtitle">发送文字到邮箱获取新网址</span></div>
          <div class="tips"><p>
            <em>di</em>
          </p>任意文字发送到该邮箱获取新网址
          </div>
        </a></li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "headerTop"
}
</script>

<style lang="scss" scoped>
#header {
  background: #003366;
  color: #FFF;
}


.nav .logo{float:left;min-width:22%;margin-top:10px;overflow:hidden;}
.nav .logo .domain{text-align:center;font-size:20px;text-transform:capitalize;}
.nav .logo .domain a{color:#ffbf00;}
.nav .logo .domain a:hover{color:hsla(0,0%,100%,.8);}
.nav .logo .url{line-height:32px;text-align:center;}
.nav .logo .url span{display:block;margin:1px;border-radius:5px;border:1px solid rgba(255,255,255,.08);padding:0 10px;height:34px;line-height:34px;background:#0086cf;color:#eee;text-transform:lowercase;}
.nav .logo .url i{font-style:normal;color:#ffbf00;}

.nav .btn-icon{float:right;width:75%;padding:10px 0;}
.nav .btn-icon li{width:20%;float:left;position:relative;display:inline-block;}
.nav .btn-icon li i{display:block;height:60px;line-height:60px;font-size:60px;margin:0 auto;padding:5px 0 10px 0;}
.nav .btn-icon li span{display:block;line-height:20px;}
.nav .btn-icon li span.subtitle{color:#eee;    font-size: 8px;}
.nav .btn-icon li a{color:#eee;display:block;width:100%;height:100%;}
.nav .btn-icon li:hover{color:#eee;background:#024384;border-radius:5px;}
.nav .btn-icon li:hover i{color:#FFCC00;}
.nav .btn-icon li:hover span.title{color:#FFCC00;}
.nav .btn-icon li:hover .tips{display:block;}
.nav .btn-icon li .tips{display:none;position:absolute;left:50%;margin-left:-120px;margin-top:23px;box-sizing:border-box;box-shadow:0 2px 5px rgba(0,0,0,.3);border-radius:5px;padding:12px;min-width:240px;line-height:26px;background-color:rgba(48,59,90,.9);color:#a3abc7;white-space:nowrap;}
.nav .btn-icon li .tips:before,.tips:after{content:"";position:absolute;display:block;border-width:8px;border-style:solid;width:0;height:0;}
.nav .btn-icon li .tips:before{left:50%;margin-left:-8px;top:-16px;border-color:transparent transparent #0080ff transparent;}
.nav .btn-icon li .tips:after{left:50%;margin-left:-8px;top:-16px;border-color:transparent transparent transparent transparent;}
.nav .btn-icon li .tips p{color:#FFCC00;}
.nav .btn-icon li .tips em{padding:0;font-style:normal;font-weight:normal;font-size:14px;}
.nav .btn-icon li .tips span{display:none;}

@media screen and (max-width:1280px){
  .pc{display:none;}
  .mt{display:inline;}
  .nav .logo{min-width:25%;margin-top:9px;}
  .nav .btn-icon{width:68%;padding:10px 0;}
  .nav .btn-icon li .tips{left:0;margin-left:0;margin-top:30px;}
  .nav .btn-icon li .tips:before,.nav .btn-icon li .tips:after{left:60px;margin-left:0;top:-16px;}
  .nav .btn-icon li:last-child .tips{left:unset;right:0;}
  .nav .btn-icon li:last-child .tips:before,.nav .btn-icon li:last-child .tips:after{left:unset;right:60px;margin-left:0;top:-16px;}
}

@media screen and (max-width:760px){
  .guide a{width:40px;height:40px;line-height:40px;}
  .nav li{padding:0 0;}
  .nav .logo{width:100%;}
  .nav .url{float:none;text-align:center;}
  .nav .btn-icon{width:100%;display:block;}
  .nav .btn-icon li i{height:50px;line-height:50px;font-size:50px;padding:5px 0 10px 0;}
  .nav .btn-icon li .tips{margin-top:20px;}
  .nav .btn-icon li .tips:before,.nav .btn-icon li .tips:after{left:30px;}
  .nav .btn-icon li:last-child .tips:before,.nav .btn-icon li:last-child .tips:after{right:30px;}
}
@media (max-width: 414px){
  .nav .btn-icon{display: flex;justify-content: space-around}
  .nav .btn-icon li{width: auto;font-size: 12px}
}

</style>
